﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH5_2011A.DTO
{
    public class ShoppingCarProductDto
    {
        /// <summary>
        /// 会员的唯一标识
        /// 
        /// </summary>
        [Required]
        public string MemberId { get; set; }

        //商品的SKUIＤ
        [Required]
        public string ProductSkuId { get; set; }

        //购买的商品数量
        [Required]
        public int ProductNumber { get;set; }

        //购买的商品的价格
        [Required]
        public decimal ProductPrice { get; set; }

        #region 非必须

        public string? ProductName { get; set; }
        public string? StoreName { get; set; }
        public string? BrandName { get; set; }
        public string? ProductImage { get; set; }
        public string? ProductSpec { get; set; }

        #endregion
    }
}
